/*
 * File:   pwm.h
 *
 * Pin-out:
 *      RB7 -> Chip Enable
 *      RB9 -> Wheel 1 red
 *      RB4 -> Wheel 1 black
 *      RB8 -> Wheel 2 red
 *      RB6 -> Wheel 2 black
 */

#pragma once

/* Handles initilization of the pulse width modulation segment of the program,
 * this includes: Output Compare, Analog to Digital Converter, and any associated
 * inputs used to control these modules. */
void InitializePWM(void);

/* Enable processing of inputs and start all modules. */
void StartPWM(void);

void Stop(void);

void Resume(void);

void PivotCCW(void);

void PivotCW(void);

void Forward(void);
